//
//  AXFSystemInfoController.m
//  AXFEightGroup
//
//  Created by hgj on 2016/12/27.
//  Copyright © 2016年 ya. All rights reserved.
//

#import "AXFSystemInfoController.h"

@interface AXFSystemInfoController ()

@end

@implementation AXFSystemInfoController

- (void)viewDidLoad {
    [super viewDidLoad];
    
    self.view.backgroundColor = [UIColor whiteColor];
    
    [self setupUI];
}

- (void)setupUI {
    UIImageView *imageView = [[UIImageView alloc] initWithImage:[UIImage imageNamed:@"v2_my_message_empty"]];
    [imageView sizeToFit];
    [self.view addSubview:imageView];
    
    UILabel *label = [[UILabel alloc] init];
    label.text = @"还没有收藏的商家";
    [label sizeToFit];
    [self.view addSubview:label];
    
    [imageView mas_makeConstraints:^(MASConstraintMaker *make) {
        make.centerX.equalTo(self.view);
        make.top.mas_equalTo(self.mas_topLayoutGuideBottom).offset(100);
    }];
    
    [label mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.mas_equalTo(imageView.mas_bottom).offset(10);
        make.centerX.mas_equalTo(imageView);
    }];
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
